package com.jiawa.train.business.service;

import com.jiawa.train.business.domain.po.DailyTrainTicket;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.req.DailyTrainTicketQueryReq;
import com.jiawa.train.business.req.DailyTrainTicketSaveReq;
import com.jiawa.train.business.resp.DailyTrainTicketQueryResp;
import com.jiawa.train.common.resp.PageResp;

import java.util.Date;

/**
 * <p>
 * 余票信息 服务类
 * </p>
 *
 * @author hrz
 * @since 2025-09-07
 */
public interface IDailyTrainTicketService extends IService<DailyTrainTicket> {

    PageResp<DailyTrainTicketQueryResp> queryList(DailyTrainTicketQueryReq req);

    void delete(Long id);

    void saveDailyTrainTicket(DailyTrainTicketSaveReq req);

    void genDaily(String type,Date date, String code);


}
